package com.example.xinli.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xinli.domain.dto.EvalDto;
import com.example.xinli.domain.dto.InquiryResultDto;
import com.example.xinli.domain.entity.Inquiry;
import com.example.xinli.domain.vo.ResponseBean;

import java.util.Map;
import java.util.Set;

public interface IInquiryService extends IService<Inquiry> {
    public ResponseBean getInquiryByPos(String pos);

    public ResponseBean submitInquiry(String userId,InquiryResultDto[] inquiryResultDto);

    public ResponseBean submitEval(String userId, EvalDto evalDto);

    public String getQsByInquiryId(int inquiryId);

    public Map<Integer, String> getOptionsByInquiryIds(Set<Integer> inquiryIds);

    public String getOptionsByInquiryId(int inquiryId);

    public Map<Integer, String> getQuestionsByInquiryIds(Set<Integer> inquiryIds);
}
